<template>
  <div>
    <h2>我是About组件的内容</h2>
  </div>
</template>

<script>
  export default {
    name:'About',
    beforeDestroy() {
      console.log('我是About，我即将被销毁')
    },
    mounted() {
      console.log('我是About，我挂载完毕了')
    },
  }
</script>